package com.kr.redeye.function;

import java.util.HashMap;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kr.redeye.dto.FunctionTableDto;

@Service("FunctionService")
public class FunctionService {
	@Resource(name="FunctionDao")
	private FunctionDao FunctionDao;
	
	public int insert(FunctionTableDto param) {
		return FunctionDao.insert(param);
	}
	
	public int upd(FunctionTableDto param) {
		return FunctionDao.upd(param);
	}
	
	public int del(FunctionTableDto param) {
		return FunctionDao.del(param);
	}
	
	public List<HashMap<String, String>> getList(FunctionTableDto param) {
		return FunctionDao.getList(param);
	}
}
